'use strict';
const db = uniCloud.database();
exports.main = async (event, context) => {
	const order = db.collection("order");
	let res = await order.doc(event._id).update({
		"status": event.status,
		"done_time": event.done_time,
	});
	return res;
};

